#ifndef PLAYSCENE_H
#define PLAYSCENE_H

#include <QMainWindow>
#include "mycoinbtn.h"

class PlayScene : public QMainWindow
{
    Q_OBJECT
public:
    explicit PlayScene(QWidget *parent = nullptr);

    PlayScene(int level);

    void paintEvent(QPaintEvent *event);

    int levelIndex;
    int gameArray[4][4];    // 金币翻转状态

    MyCoinBtn* coinBtnArray[4][4];

    bool isWin = false;

signals:
    void chooseSceneBack();

    void nextScene(int level);

public slots:
};

#endif // PLAYSCENE_H
